package com.hfstu.framework.exceptions;

import java.util.Iterator;
import java.util.List;
import java.util.Map;

import org.apache.commons.lang.enums.ValuedEnum;

@SuppressWarnings("all")
public class SystemExceptionTypeEnum extends ValuedEnum {
	private static final long serialVersionUID = 6838092903039365633L;
	public static final SystemExceptionTypeEnum UNKNOWN = new SystemExceptionTypeEnum(
			"UNKNOWN", 1);

	public static final SystemExceptionTypeEnum SYSTEM_EXCEPTION = new SystemExceptionTypeEnum(
			"SYSTEM_EXCEPTION", 2);

	protected SystemExceptionTypeEnum(String name, int value) {
		super(name, value);
	}

	public static SystemExceptionTypeEnum getEnum(int value) {
		return (SystemExceptionTypeEnum) getEnum(SystemExceptionTypeEnum.class,
				value);
	}

	public static SystemExceptionTypeEnum getEnum(String name) {
		return (SystemExceptionTypeEnum) getEnum(SystemExceptionTypeEnum.class,
				name);
	}

	public static Map getEnumMap() {
		return getEnumMap(SystemExceptionTypeEnum.class);
	}

	public static List getEnumList() {
		return getEnumList(SystemExceptionTypeEnum.class);
	}

	public static Iterator iterator() {
		return iterator(SystemExceptionTypeEnum.class);
	}
}